-- GENERATED SPELL FOR [Gan'arg Engineer] --


function spell0_16948(pUnit, Event) --@Throw Dynamite,n/a--
pUnit:FullCastSpellOnTarget(7978,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16948', 1000, 1)
end

function Sorts_16948(pUnit, Event)
local choix_sorts_16948 = math.random(0, 0)
if choix_sorts_16948 == 0 then
pUnit:RegisterEvent('spell0_16948', 1, 1)
end
end

function mob16948_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16948', math.random(1500, 3000), 1)
end

function mob16948_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16948_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16948_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16948, 1, 'mob16948_Action')
RegisterUnitEvent(16948, 2, 'mob16948_Leave')
RegisterUnitEvent(16948, 3, 'mob16948_Kill')
RegisterUnitEvent(16948, 4, 'mob16948_Die')
